<?php
/**
 * WAP网站首页控制层
 * 
 * @copyright 	Copyright (c) 2011 thinkapk.com All rights reserved.
 * @package 	ThinkAPK_Action
 * @link 		http://www.thinkapk.com/
 * @author 		richie <richbossman@163.com>
 * @version 	$Id: IndexAction.class.php 7482 2011-05-19 10:12:51Z richie $
 * 
 */
class IndexAction extends ThinkAPK_Action_Wap {
	
	function _before_index(){
		$this->setTitle(C('shop_index_title'));
		//推荐应用与游戏
		$this->assign('recommend_app_list', D('Goods')->recommendAppForWap(C('APP_ID')));
		$this->assign('recommend_game_list', D('Goods')->recommendAppForWap(C('GAME_ID')));
	}
}
?>